package io.wit.modules.wit.dao;

import io.wit.modules.sys.dao.BaseDao;
import io.wit.modules.wit.entity.SubjectEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 经营主体
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-01-02 14:45:15
*/
@Mapper
public interface SubjectDao extends BaseDao<SubjectEntity> {

	List<SubjectEntity> subjectlist(Map<String, Object> params);

    List<Map<String,Object>> getTypeIdentity();

    int saveSubject(final HashMap<String, String> formParams);

    int editSubject(final HashMap<String, String> formParams);

    Map<String, Object> queryMap(final Long id);
}